home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_39.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  72KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | poster | reckoner | sky | window
OCR: Sat, Feb 7 1996INCI IJDE OgilB Suide Macintosh Assembly Language Programming 3Bage *e * x *VAR START WINDOW EQU *WINDOW HANDLE EX4 VA RS DSF *SPACE FOR 1LONG WIND INITIALSE THE "EXAMPLE 4"C CURSOR END OF EXAMPLE4** Note DPEN WINDOW mber IS printed. we call a subroutine that waits for the user to press key actually returns the key pressed in D0 as the lower byte that is bits 11 Armed with this knowledge its time to find out about comparing data and controlling program flow me of the comparison. ADD 10+20+30 Here S a tougn now can we modify example DS that it quits only when the .O, key IS precso Lon the bvhoard? Anv ideas have a go a writing the program, but don' worry you 1,uop hav RINT THE RESUL- KEY returns the key pressed in the lower byte of WAIT FOR KEY interlude. PRESS LOSE THE WINDO ...